package com.czxy.service;

import com.czxy.domain.Rose;
import com.czxy.domain.Staff;
import com.czxy.domain.StaffVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author zhangmengxiang1@itcast.cn
 * @version 1.0
 * @date 2020/2/3
 */
public interface StaffService {
    PageInfo<Staff> findAllStaffForpage(StaffVo staffVo);

    void addStaff(Staff staff);

    void delStaffByHid(Integer hid);

    void delAllStaffByDir(String dir);

    Staff findOneStaffByhid(Integer hid);

    void updateStaff(Staff staff);

    List<Rose> findAllRose();

    Staff login(Staff staff);
}
